package sch.frog.creational.abstractfactory.factory;

import sch.frog.creational.abstractfactory.abean.IMBean;
import sch.frog.creational.abstractfactory.abean.MBeanB;
import sch.frog.creational.abstractfactory.bbean.INBean;
import sch.frog.creational.abstractfactory.bbean.NBeanB;

public class BFactory implements IFactory {
    @Override
    public IMBean createMBean() {
        return new MBeanB();
    }

    @Override
    public INBean createNBean() {
        return new NBeanB();
    }
}
